/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const PropertyManagementModuleRouter = {
  path: '/PropertyManagementModule',
  component: Layout,
  redirect: 'noRedirect',
  name: 'PropertyManagementModule',
  meta: {
    title: '物业管理模块',
    icon: 'component'
  },
  children: [
     {
        path: 'ExpenseTypeManagement',
        component: () => import('@/page/PropertyManagementModule/ExpenseTypeManagement/index'),
        name: 'PropertyManagementModule',
        meta: { title: '费用类型管理' }
      },
      {
        path: 'CostManagement',
        component: () => import('@/page/PropertyManagementModule/CostManagement/index'),
        name: 'PropertyManagementModule',
        meta: { title: '费用账单管理' }
      },
      {
        path: 'MaintenanceRecordManagement',
        component: () => import('@/page/PropertyManagementModule/MaintenanceRecordManagement/index'),
        name: 'PropertyManagementModule',
        meta: { title: '维修记录管理' }
      },
      {
        path: 'ComplaintManagementModule',
        component: () => import('@/page/PropertyManagementModule/ComplaintManagementModule/index'),
        name: 'PropertyManagementModule',
        meta: { title: '投诉记录管理' }
      },
      {
        path: 'Announcement',
        component: () => import('@/page/PropertyManagementModule/Announcement/index'),
        name: 'PropertyManagementModule',
        meta: { title: '公告管理' }
      },
  ]
}

export default PropertyManagementModuleRouter
